package model

type TikuId struct {
	Id uint `json:"id" form:"id"`
}

// GetList 获取列表
type TikuListReq struct {
	PageSize
	Source       uint   `json:"source" form:"source"`
	Level        string `json:"level" form:"level" `
	SkillTag     string `json:"skill_tag" form:"skill_tag" `
	ProfessionId *uint  `json:"profession_id" form:"profession_id"`
	UserId       uint   `json:"-" form:"-"`
	VideoStatus  *int   `json:"-" form:"video_status"`
}

type TikuListResp struct {
	Id uint `json:"id"  `
	//Source      string `json:"source"`
	//Level       string `json:"level"`
	Text        string `json:"text"`
	Source      int    `json:"source"`
	Level       int    `json:"level"`
	Tag         string `json:"tag"`
	VideoStatus string `json:"video_status"`
}

// UpdateList 更新列表
type TikuListUpdReq struct {
	Id           uint   `json:"id" form:"id"`
	Level        string `json:"level" form:"level" `
	Skill_tag    string `json:"skill_tag" form:"skill_tag" `
	Text         string `json:"text" form:"text" `
	Ans_analysis string `json:"ans_analysis" form:"ans_analysis" `
}

type GenerateVideoReq struct {
	Id   uint   `json:"id" form:"id,default=0" validate:"required"`
	Text string `json:"text" form:"text,default=''"`
}
type GenerateVideoFinishReq struct {
	Type    string `json:"type" form:"type" validate:"required"`
	Topic   string `json:"topic" form:"topic" validate:"required"`
	Message string `json:"message" form:"message" validate:"required"`
}
type GenerateVideoFinishData struct {
	Id      uint   `json:"id" form:"id,default=0" validate:"required"`
	Text    string `json:"text" form:"text,default=''"`
	Video   string `json:"video" form:"video"`
	PcVideo string `json:"pc_video" form:"pc_video"`
}

// 河北冀才网 生成视频的接口
type HbGenerateVideo struct {
	Bid         string   `json:"bid" form:"bid" validate:"required"`
	KeyWords    []string `json:"key_words" form:"key_words" validate:"required"`
	AnsAnalysis string   `json:"ans_analysis" form:"ans_analysis" validate:"required"`
	Level       string   `json:"level" form:"level" validate:"required"`
	Text        string   `json:"text" form:"text" validate:"required"`
}

// 河北冀才网 视频返回数据接口
type HbGenerateVideoResp struct {
	Gid   string `json:"gid"`
	Bid   string `json:"bid"`
	Video string `json:"video"`
	Text  string `json:"text"`
}

// 河北冀才网 获取视频
type HbGetGenerateVideo struct {
	Gid string `json:"gid" form:"gid" validate:"required"`
	Bid string `json:"bid" form:"bid" validate:"required"`
}

// 自定义职业 创建考试场次
type HbCustomCreate struct {
	CareerName  string `json:"career_name" form:"career_name"`
	CompanyId   string `json:"company_id" form:"company_id"`
	CompanyName string `json:"company_name" form:"company_name"`
}

// 自定义职业 回答结束提交接口
type HbCustomFinishReplay struct {
	SessionId    uint   `json:"session_id" form:"session_id"`
	CareerName   string `json:"career_name" form:"career_name"`
	QuestionId   uint   `json:"question_id" form:"question_id"`
	QuestionText string `json:"question_text" form:"question_text"`
	AnswerText   string `json:"answer_text" form:"answer_text"`
	AnswerUrl    string `json:"answer_url" form:"answer_url"`
	SpeakTime    uint   `json:"speak_time" form:"speak_time"`
}

// 自定义职业 获取报告
type HbCustomInterviewFinish struct {
	SessionId uint `json:"session_id" form:"session_id"`
}
